package cn.heygod.airsql;

import cn.heygod.airsql.build.DeleteSql;
import cn.heygod.airsql.build.InsertSql;
import cn.heygod.airsql.build.SelectSql;
import cn.heygod.airsql.build.UpdateSql;

/**
 * @className: Sql
 * @author: Simon
 * @description: TODO
 * @date: 2024/1/26 3:23
 * @version: 1.0
 */
public class Sql {

    public static <T> SelectSql<T> select(Class<T> tClass){
        return new SelectSql<T>(tClass);
    }

    public static <T> UpdateSql<T> update(Class<T> tClass){
        return new UpdateSql<T>(tClass);
    }

    public static <T> DeleteSql<T> delete(Class<T> tClass){
        return new DeleteSql<T>(tClass);
    }

    public static <T> InsertSql<T> insert(Class<T> tClass){
        return new InsertSql<T>(tClass);
    }
}
